<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <title></title>
</head>
<body>
<p>hello</p>
<script>
    var worker = new Worker("worker.js");
    worker.postMessage("aa hello,world");
    worker.onmessage = function (event) {
        console.log(event.data);
    }
</script>
</body>
</html>